<form method="post" action="?app=masterkey&amp;ctl=admin_repairconfig&amp;act=index">
        <h2>
            设置补货仓库
        </h2>
        <table border="0" cellpadding="0" style="margin-top:10px" cellspacing="0" class="orderdetails_basic">
            <input type="hidden" name="id" value='1' >
            <tr>
                <td>
                    <{t}>仓库：<{/t}>
                </td>
                <td>
                    <{foreach from=$branch item=item key=key}>
                     <{$item.name}><input type="checkbox" name="branch_id[]" value='<{$item.branch_id}>' <{if in_array($item.branch_id,$data)}>checked<{/if}>>&nbsp;&nbsp;
                     <{if $key ==5 || $key ==10 || $key ==15}><br/><{/if}>
                    <{/foreach}>
                </td>

            </tr>
        </table>
        <div class="table-action">
            <button type="submit" class="btn btn-primary">
                <span>
                    <span>
                        <{t}>确定<{/t}>
                    </span>
                </span>
            </button>
        </div>
</form>
